/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ca.trader.except;

/**
 * Thrown to indicate if a user does not exist
 * 
 * @author Ahsan
 */
public class UserDoesNotExistException extends Exception
{

	 /**
	  * Constructs an instance of
	  * <code>UserDoesNotExistException</code> with the specified detail
	  * message.
	  *
	  * @param user the username
	  */
	 public UserDoesNotExistException(String user)
	 {
		  super("User with email address " + user + " does not exist.");
	 }

	 	 public UserDoesNotExistException(Integer user)
	 {
		  super("User with ID " + user + " does not exist.");
	 }
}
